package com.cm.mongo.repository;

import com.cm.mongo.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UserRepository extends MongoRepository<User, Long> {
    List<User> findByAgeLessThan(int i);
}